package com.hongkuncheng.cms.exception;

public class BaseException extends RuntimeException {
     int code;

     public BaseException () {

     }

     public BaseException(int code, String message) {
          super(message);
          this.code = code;
     }

     public int getCode() {
          return code;
     }

     public void setCode(int code) {
          this.code = code;
     }
}
